package cn.snow.iot.server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * 项目的启动类
 *
 * @author raft
 */
@SuppressWarnings("SpringComponentScan") // 忽略 IDEA 无法识别 ${iot.info.base-package}
@ComponentScan(basePackages = {"cn","com"})
@SpringBootApplication(scanBasePackages = {"${iot.info.base-package}.server", "${iot.info.base-package}.module"})
public class IotServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(IotServerApplication.class, args);
    }
}
